#include "widget.h"

#include <iostream>

using namespace std;

int main()
{
	Widget* pWidget;

	pWidget = new Line();
	pWidget->display();
	cout<<endl;
	delete pWidget, pWidget = NULL;

	pWidget = new Rectangle();
	pWidget->display();
	cout<<endl;
	delete pWidget, pWidget = NULL;

	return 0;
}
